package org.chen.domain.dto;

import lombok.Data;

import java.util.List;

@Data
public class ArticleImportDTO {
    private List<Article> articles;
    private Metadata metadata;
    
    @Data
    public static class Article {
        private String title;
        private String description;
        // url 字段变为可选
        private String url;
        private String timestamp;
    }
    
    @Data
    public static class Metadata {
        private String timestamp;
        private Integer totalArticles;
    }
}